Skip to content

Gradle: Repro for issue 3779 #351

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

MartyIX
Copy link

@MartyIX MartyIX commented Jul 15, 2025

This is a PR that addresses #350 (comment).

Now, this command

export LOG4J_VERSION=2.25.1; ./gradlew :log4j-samples-gradle-metadata:build

leads to

Errors occurred while building effective model from /Users/me/.gradle/caches/modules-2/files-2.1/org.apache.logging.log4j/log4j-api/2.25.1/bac75b77765d4eb74e4122d34000d7892c6605fa/log4j-api-2.25.1.pom:
        'dependencies.dependency.version' for com.google.errorprone:error_prone_annotations:jar must be a valid version but is '${error-prone.version}'. in org.apache.logging.log4j:log4j-api:2.25.1

BUILD SUCCESSFUL in 648ms

(Note that the build is successful but the error is still reported. So in a way, the error seems non-blocking but honestly I would not rely on it.)

cc @ppkarwasz

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants